/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.hazards.wind.roof;

import com.google.gwt.core.client.GWT;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.hazards.wind.WindConstants;

public class WindFrameSpacingListBox extends AbstractClassificationSchemeListBox {

	private WindConstants constants;

	public WindFrameSpacingListBox()
	{
		
		constants = (WindConstants)GWT.create(WindConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaWindFrameSpacingUNKNOWN(), "0 = Unknown");
		this.addItem(constants.schemaWindFrameSpacing12(), "1 = 12 inches");
		this.addItem(constants.schemaWindFrameSpacing16(), "2 = 16 inches");
		this.addItem(constants.schemaWindFrameSpacing19(), "3 = 19.6 inches");
		this.addItem(constants.schemaWindFrameSpacing24(), "4 = 24 inches");
		this.addItem(constants.schemaWindFrameSpacing36(), "5 = 36 inches");
		this.addItem(constants.schemaWindFrameSpacingNA(), "6 = NA");
		this.addItem(constants.schemaWindFrameSpacingOTHER(), "99 = Other");
	}
}

/*
# frame spacing
schemaWindFrameSpacingUNKNOWN=Unknown
schemaWindFrameSpacing12=
schemaWindFrameSpacing16=
schemaWindFrameSpacing19=
schemaWindFrameSpacing24=
schemaWindFrameSpacing36=
schemaWindFrameSpacingNA=
schemaWindFrameSpacingOTHER=
0 = Unknown
1 = 12 inches
2 = 16 inches
3 = 19.6 inches
4 = 24 inches
5 = 36 inches
6 = NA
99 = Other

 */
